package com.wm.machine.baselibrary.utils.okhttp.exceptions;

/**
 * Copyright
 * author zhengcheng
 * date 2018/4/2
 * describe
 * history
 */

public class HttpServerException extends RuntimeException{
    private int code;
    private String msg;

    public HttpServerException(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
